:host {
	max-width: 100%;
	font-size: var(--sapFontSize);
	font-family: var(--sapFontFamily);
	color: var(--sapTextColor);
	line-height: normal;
	cursor: text;
	overflow: hidden;
}

:host([max-lines="1"]) {
	display: inline-block;
	text-overflow: ellipsis;
	white-space: nowrap;
}

:host(:not([max-lines="1"])) {
	display: -webkit-box;
	-webkit-line-clamp: var(--_ui5_text_max_lines);
	line-clamp: var(--_ui5_text_max_lines);
	-webkit-box-orient: vertical;
	white-space: normal;
	word-wrap: break-word;
}

.empty-indicator-aria-label {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	user-select: none;
	left: 0;
	top: 0;
	font-size: 0;
}
